package cn.vehicle.domains.vo.req.sysUser;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

@Data
@Schema(description = "创建用户请求参数")
public class AddUserReq {

    @Schema(name = "username", description = "用户名")
    @NotEmpty(message = "用户名不能为空")
    private String username;

    @Schema(name = "phone", description = "手机号")
    @NotEmpty(message = "用户名不能为空")
    private String phone;
}
